const state = {
	formList: [],
	editFormId: '',
	formName: ''
};

const mutations = {
	SET_FORM_LIST(target, list) {
		target.formList = list;
	},
	SET_EDIT_FORM_ID(target, id) {
		target.editFormId = id;
	},
	SET_EDIT_FORM_NAME(target, name) {
		target.formName = name;
	}
};

export default {
	// namespaced: true,
	state,
	mutations
};
